package com.mingqijia.gassafety.db.hangzhou.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 杭州对接-设备信息
 * </p>
 *
 * @author wanghai
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_hz_city_device")
@ApiModel(value="CityDevice对象", description="杭州对接-设备信息")
public class CityDevice extends BaseEntity {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "产品ID(createCityProduct返回)")
    @TableField("product_key")
    private String productKey;

    @ApiModelProperty(value = "设备ID imei")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty(value = "设备别名(设备名称)")
    @TableField("alias")
    private String alias;

    @TableField("organization_id")
    private String organizationId;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "详细地址信息")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "经度")
    @TableField("latitude")
    private Double latitude;

    @ApiModelProperty(value = "纬度")
    @TableField("longitude")
    private Double longitude;

    @ApiModelProperty(value = "坐标系 默认：GCJ-02")
    @TableField("coordinateSystem")
    private String coordinateSystem;


}
